package com.huaxindata.im.constants.http;

/**
 * Created by Administrator on 2017/8/22.
 * 本类用于网络请求的常量类
 * 主要是网络请求的url
 */

public class HttpConstants {
    public static final String BASE_URL = "http://www.iwatercloud.cn:8081";
    //登录url
    public static final String LOGIN_URL = "/app/login";
    //获取用户好友和群组的url
    public static final String USER_LIST_URL = "/app/userList";
    //根据电话号获取用户信息
    public static final String USER_INFO_URL="/userFriend/searchByPhoneNum";
    //建群，提交群资料，不带图片
    public static final String CREATE_GROUP_URL = "/app/createGroup";
    //带群图片
    public static final String CREATE_GROUP_PICTURE_URL="/app/createGroupWithPic";
    //删除好友
    public static final String DELETE_FRIEND_URL="/userFriend/delFriend";
    //上传文件
    public static final String CHAT_UPLOAD_FILE="/app/chat/uploadFile";
    //添加好友
    public static final String ADD_FRIEND_URL = "/userFriend/addFriend";
    //解散群
    public static final String DESTROY_GROUP="/app/deleteGroup";
    //获取附近的用户
    public static final String ADJACENT_USER = "/userFriend/searchByLonLat";
    //根据用户id获取用户数据
    public static final String USER_MESSAGE_URL = "/app/userMessage";

}
